package liuliu.throughwaring.control.add.police.police;

import android.content.Context;

import liuliu.throughwaring.control.task.addTask;
import liuliu.throughwaring.model.PoliceModel;

/**
 * Created by Administrator on 2015/11/27.
 */
public class RegPoliceListener {
    IRegPoliceView iRegPoliceView;
    Context context;
    addTask add;

    public RegPoliceListener(Context context, IRegPoliceView iRegPoliceView) {
        this.context = context;
        this.iRegPoliceView = iRegPoliceView;
        add=new addTask(context);
    }

    public void RegPolice(PoliceModel policeModel) {
        add.addPolice(policeModel,iRegPoliceView);
    }
}
